package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.topevery.garden.entity.po.GreFile;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 特殊分数 视图
 */
@Data
@ApiModel(value = "SpecialScore 视图", description = "特殊分数 视图")
public class SpecialScoreVO implements Serializable {
    /**
     * 自增id
     */
    private Integer id;

    @ApiModelProperty(value = "编号")
    @Excel(name = "编号", orderNum = "0")
    private String code;

    /**
     * 分数值
     */
    @ApiModelProperty(value = "分数值")
    @Excel(name = "分数值", orderNum = "0")
    private Integer score;

    /**
     * 标段ID
     */
    @ApiModelProperty(value = "标段ID")
    @Excel(name = "标段ID", orderNum = "0")
    private Integer sectionId;

    /**
     * 标段名字
     */
    @ApiModelProperty(value = "标段名字")
    @Excel(name = "标段名字", orderNum = "0")
    private String sectionName;

    /**
     * 企业ID
     */
    @ApiModelProperty(value = "企业ID")
    @Excel(name = "企业ID", orderNum = "0")
    private Integer companyId;

    /**
     * 企业名字
     */
    @ApiModelProperty(value = "企业名字")
    @Excel(name = "企业名字", orderNum = "0")
    private String companyName;

    /**
     * 考评时间
     */
    @ApiModelProperty(value = "考评时间")
    @Excel(name = "考评时间", orderNum = "0")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime evaluationTime;

    /**
     * 考评详情
     */
    @ApiModelProperty(value = "考评详情")
    @Excel(name = "考评详情", orderNum = "0")
    private String evaluationContent;

    /**
     * 考评人ID
     */
    @ApiModelProperty(value = "考评人ID")
    @Excel(name = "考评人ID", orderNum = "0")
    private Integer evaluationUserId;

    /**
     * 考评人名字
     */
    @ApiModelProperty(value = "考评人名字")
    @Excel(name = "考评人名字", orderNum = "0")
    private String evaluationUserName;

    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", orderNum = "0")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbCreateDate;

    /**
     * 附件列表
     */
    @ApiModelProperty("附件列表")
    private List<GreFile> fileList;

}
